package pers.vic.test.quartz2.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;
import pers.vic.test.testing.service.TestingService;

import javax.annotation.Resource;

/**
 * 描述:
 * @author Vic.xu
 * @date 2022-04-13 11:53
 */
public class CustomerJob extends QuartzJobBean {

    private static final Logger logger = LoggerFactory.getLogger(CustomerJob.class);


    @Resource
    private TestingService testingService;

    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
        //logger.info("into CustomerJob.........................................." + testingService.findById(1).getName());

    }
}
